package com.pilhun.parser;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

class BeanObj {

	private String id;
	private String className;
	private List<ArgumentEntry> constructorArgs = new ArrayList<ArgumentEntry>();
	private List<ArgumentEntry> propertyArgs = new ArrayList<ArgumentEntry>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public void addToConstructorArgs(ArgumentEntry constructorArg) {
		constructorArgs.add(constructorArg);
	}

	public void addToPropertyArgs(ArgumentEntry propertyArg) {
		propertyArgs.add(propertyArg);
	}

	public List<ArgumentEntry> getConstructorArgs() {
		return constructorArgs;
	}

	public void setConstructorArgs(List<ArgumentEntry> constructorArgs) {
		this.constructorArgs = constructorArgs;
	}

	public List<ArgumentEntry> getPropertyArgs() {
		return propertyArgs;
	}

	public void setPropertyArgs(List<ArgumentEntry> propertyArgs) {
		this.propertyArgs = propertyArgs;
	}

	@Override
	public String toString() {
		return "BeanObj [id=" + id + ", className=" + className
				+ ", constructorArgs=" + constructorArgs + ", propertyArgs="
				+ propertyArgs + "]";
	}

}
